package com.zhangdi.demo.cousumer;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author zhangdi
 * @version 1.0
 * @date 2022.9.14 17:03
 */
@RestController
public class TestController {
    @Resource
    IPaymentResource iPaymentResource;

    @GetMapping("/testconsumer/test0")
    public String test0(){
        return iPaymentResource.pay();
    }
}
